$OpenBSD: patch-ext_libav_Makefile_in,v 1.3 2016/11/02 22:21:35 ajacoutot Exp $

../../gst-libs/ext/libav/libavutil/libavutil.a(log2_tab.o):(.rodata+0x0): multiple definition of `ff_log2_tab'

--- ext/libav/Makefile.in.orig	Tue Nov  1 16:17:52 2016
+++ ext/libav/Makefile.in	Wed Nov  2 21:42:32 2016
@@ -480,7 +480,7 @@ libgstlibav_la_LIBADD = $(LIBAV_LIBS) $(GST_PLUGINS_BA
 	-lgstpbutils-$(GST_API_VERSION) $(GST_BASE_LIBS) \
 	$(LIBM) $(WIN32_LIBS) -lz $(BZ2_LIBS) $(LZMA_LIBS)
 
-libgstlibav_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DARWIN_LDFLAGS)
+libgstlibav_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DARWIN_LDFLAGS) -Wl,-z,muldefs
 libgstlibav_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
 @HAVE_LIBAV_UNINSTALLED_TRUE@libgstlibav_la_DEPENDENCIES = $(LIBAV_DEPS)
 noinst_HEADERS = \
